﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceDog.Lib.Farm
{
    public abstract class Animal:ICloneable
    {
        public Animal(string name)
        {
            this.Name = name;
        }
        public abstract string Type { get; }
        public virtual string Name { get; set; }
        public virtual int Age { get; set; }

        public object Clone()
        {
            return this.MemberwiseClone();
        }

        public abstract void EatFood();
    }
}
